package com.jack.enums;

public enum ProductStatusEnum {

	UP(0, "在架"),
	DOWN(1, "下架");
	
	private Integer code;
	
	private String message;
	
	ProductStatusEnum( Integer code, String message) {
		this.setCode(code);
		this.setMessage(message);
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
